package com.ebocy.hammer.battle.fight.message;

import org.apache.mina.core.session.IoSession;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractC2SMessage;

public class C2SEnterRoomMessage extends AbstractC2SMessage {
	private IoSession ioSession;
	private String userId;
	@Override
	public short getMessageCode() {
		return GameMessageCode.ENTER_ROOM;
	}

	@Override
	public void readMessage() {
		userId=readString();
	}

	public String getUserId() {
		return userId;
	}
}
